<?php
    require('config.php');

    $db = mysql_connect(DB_SERVER,DB_SERVER_USERNAME,DB_SERVER_PASSWORD);
    $connect = mysql_select_db(DB_DATABASE) or die('Could not select database');
     if($connect == true)
    {
    }
    if($db == false)
    {
      echo"Cannot connect to the server.";
    }
?>

